import request from "../request";

const orderHttp = {
  addOrder(data) {
    return request.post({
      url: '/order/add',
      data: data
    })
  },
  selectOrder(data) {
    return request.get({
      url: '/order/select',
      data: data
    })
  },
  pageListOrder(data) {
    return request.get({
      url: '/order/pageList',
      data: data
    })
  },
  menuListOrder(data) {
    return request.get({
      url: '/order/menuList',
      data: data
    })
  },
}
export default orderHttp